<template name="adminImport">
	<section class="page-container page-home page-static page-settings">
		{{> header sectionName="Import" fullpage="true"}}
		<div class="content">
			{{#unless isAdmin}}
				<p>{{_ "You_are_not_authorized_to_view_this_page"}}</p>
			{{else}}

				<div class="section">
					<h1>{{_ "Import History" }}</h1>

					<div class="section-content">
						<div>{{_ "View the status of all import operations." }}</div>
						<br/>
						<button class="rc-button rc-button--primary import-history">{{_ "View History"}}</button>

					</div>

				</div>

				<div class="rocket-form">
					<fieldset>
						{{#each importers}}
							<div class="section">
								<h1>{{ name }}</h1>
								<div class="section-content">
									<div>{{getDescription .}}</div>
									<br/>
									<button class="rc-button rc-button--primary start-import">{{_ "Start"}}</button>
								</div>
							</div>
						{{/each}}
					</fieldset>
				</div>
			{{/unless}}
		</div>
	</section>
</template>
